
<!--搜索栏-->
<form id="one_search_site" class="form-inline">
  <div class="form-group" style="margin-right:10px;">
    <label for="siteName">站点名称：</label>
    <input type="text" class="form-control" id="siteName" (keydown.enter)="search()">
  </div>
  <!--<div class="form-group" style="margin-right:10px;">-->
  <!--<label for="address">站点地址：</label>-->
  <!--<input type="text" class="form-control" id="address" >-->
  <!--</div>-->
  <div class="form-group" style="margin-right:10px;">
    <label for="monitor_add_siteTypeCode">站点类型：</label>
    <select class="multiselect form-control" id="monitor_add_siteTypeCode">
      <option value="">-- 请选择站点类型 --</option>
      <option *ngFor="let category of categorys" [value]="category.siteTypeCode">{{category.cateName + ' - ' +category.siteTypeName}}</option>
    </select>
  </div>

  <div class="form-group" style="margin-right:10px;">
    <label for="monitor_add_isMove">移动设备：</label>
    <select class="multiselect form-control" id="monitor_add_isMove">
      <option value="">--请选择--</option>
      <option value="0">否</option>
      <option value="1">是</option>
    </select>
  </div>

  <button class="btn btn-success" (click)="search()" >查询</button>
</form>

<!-- 操作栏-->
<div id="one_operation_sites" data-role="one-operation"  class="one-operation" [include]="['SITE_MANAGE']" [proxyMethods]="proxy"></div>
<!-- table栏 -->
<div class="one-table-area">
  <table id="one_table_site"></table>
</div>
<div class=" one-btn-tab"  style="margin-top: 5px;">
  <div class="btn-group">
    <div *ngFor="let list of siteContentArr" class="btn btn-default" [class.active]="siteContentType === list.value" (click)="siteContentType= list.value; changeTab(list.value)">{{list.name}}</div>
  </div>
</div>
<!-- table栏 -->
<!-- 操作栏-->
<div class="one_operation_device" [style.display] = 'siteContentType === "site" ? "block": "none"'>
  <div id="one_operation_device" data-role="one-operation"  class="one-operation" [include]="['SITE_DEVICE']" [proxyMethods]="proxyDevice"></div>
  <div class="one-table-area">
    <table id="one_table_device"></table>
  </div>
</div>
<div class="one_operation_range" [style.display] = 'siteContentType === "range" ? "block": "none"'>
  <div style="margin-top: 5px;" class="text-red small" *ngIf='!(siteContentType === "range" && (isMove === "1"))'>只有移动站点可操作</div>
  <!-- 操作栏-->
  <div id="one_operation_range" data-role="one-operation"  class="one-operation" [include]="['SITE_RANGE']" [exclude]="[]" [proxyMethods]="proxySiteRange"></div>
  <!-- table栏 -->
  <div class="one-table-area">
    <table id="one_table_range"></table>
  </div>
</div>

